package com.pretest.servlet;

import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import com.pretest.bean.EmployeeBean;

public class TestServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public void init() throws ServletException
	  {
		
//		Enumeration<URL> roots;
//		try {
//			roots = TestServlet.class.getClassLoader().getResources("");
//			while(roots.hasMoreElements()) {
//				URL ul=roots.nextElement();
//				System.out.println("URL APP: "+ul.getPath());
//				System.out.println("TEST APP: "+ul.getPath().contains("/classes"));
//			}
//		
//		} catch (IOException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
		
	  EmployeeBean em = new EmployeeBean();
	  em.setName("abc");
	  em.getName();
		
	  }
	

}
